Tooltip: Avoid redundant variable initialisations
authorDaniel Boles <dboles@src.gnome.org>
Mon, 20 Mar 2017 21:04:49 +0000 (21:04 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Mon, 20 Mar 2017 21:13:50 +0000 (21:13 +0000)
commit7e38e3075e9c5d591a40b450dd1eac6c25c79c5d
treef6e863137dbbb023ff12fb79b4f64c15655d4794
parent12b7d30a2d390fa4755828b6dc3748695c52a365
Tooltip: Avoid redundant variable initialisations

has_tooltip_widget was assigned twice in immediate succession.

return_value is not used anywhere else in this function since commit
14a864c8b55dfe92f8957499f12a3f9303188a12 and does not need a default
value anymore, so move it to the inner scope and don't init to NULL.
gtk/gtktooltip.c